package homeWork03;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Arrays;

public class ioLiuTest {
    public static void main(String[] args) throws Exception {
        FileInputStream fis = new FileInputStream("D:/ITheima/file01.txt");
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
//        System.out.println((char) fis.read());
        byte[] bytes = new byte[12];
        int read = fis.read(bytes);
        String s = new String(bytes);
        System.out.println(s);

    }
}
